package com.xu.cloud.shorturl.pojo.http;

import com.xu.cloud.common.pojo.http.req.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author xuguan
 * @since 2024/3/5
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GenerateShortUrlReq extends BaseRequest {

    private static final long serialVersionUID = 6905968919933905386L;

    /**
     * 长地址
     */
    @NotBlank
    private String originUrl;
}
